package com.xingchi.tornado.log.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * web属性配置
 *
 * @author xiaoya
 * @date 2024/9/26 15:04
 */
@Data
@ConfigurationProperties(prefix = "xingchi.tornado.web")
public class WebProperties {

    /**
     * web日志是否开启，默认关闭
     */
    private Boolean logEnable = false;

    /**
     * 慢接口判定时间
     */
    private Integer slowLogInterval;

}
